package com.dd.cloud.user.req.chknowl;


import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;


/**
 * @author xt
 */
@Data
public class ChnowlVideoReq {

    /**
     * 视频id
     */
    @NotNull(message = "视频id不能为空")
    private Integer videoId;

    /**
     * 小节id
     */
    @NotNull(message = "章节id不能为空")
    private Integer chapterId;

    /**
     * 时间
     */
    @NotBlank(message = "观看时间不能为空")
    private String time;

}
